package com.openx.xoj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openx.xoj.model.entity.QuestionFavour;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 针对表【question_favour(帖子收藏表)】的数据库操作Mapper
 *
 *
 *
 */

/**
 * @author Administrator
 * @description 针对表【question_favour(收藏题目)】的数据库操作Mapper
 * @createDate 2024-08-19 17:38:19
 * @Entity generator.domain.QuestionFavour
 */
public interface QuestionFavourMapper extends BaseMapper<QuestionFavour> {
    @Select("SELECT questionId FROM question_favour")
    List<Long> getAllQuestionIds();
}




